#pragma once
#include "BaseObject.h"

class Piece : public BaseObject
{
public:
	int				m_iOwner;				// the player or team owns this
	bool			m_bKickable;			// if the object can be kicked back to its start
	int				m_iTeamIndex;			// what piece it is (first, second, third, fourth)
	XYZ             m_camPos;
	bool            m_home;					//is the piece home


	int				m_iSquareIndex;			// what square on the board the piece is currently at
public:
	float m_speed;
	

	XYZ getPos();
	Piece();								// initializes all values to default (ie m_iOwner = 0)
	void Init(int, int);					// sets up the piece, and allocates any memory (if necessary)
	void Init(int, int, float, float);		// allows for initial position to be placed
	bool Move(int a_iMoveBy);				// moves the piece by the amount passed, returns false if unable to move there
	~Piece();								// deallocation of memory should go here
};